import React, { memo } from 'react';
import { Card } from 'antd';
import { Bar } from '@/components/Charts';

const SensWord = memo(
  ({  loading, querySensWordData }) => (
    <Card
      loading={loading}
      bordered={false}
      title="敏感信息类型分布"
      bodyStyle={{ padding: 12 }}
      style={{ marginBottom: 24 }}
    >
        <Bar
          height={350}
        //   title="敏感字段分布"
          data={querySensWordData}
        />      
    </Card>
  )
);
export default SensWord;
